package com.ecotope.quartz.module.service.impl;

import com.ecotope.quartz.module.dao.AccessDataDao;
import com.ecotope.quartz.module.dao.ProjectApprovalDao;
import com.ecotope.quartz.module.entity.AccessData;
import com.ecotope.quartz.module.entity.ProjectApproval;
import com.ecotope.quartz.module.service.AccessDataService;
import com.ecotope.quartz.module.service.ProjectApprovalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author JK
 */
@Service
public class ProjectApprovalServiceImpl implements ProjectApprovalService {

    @Autowired
    private ProjectApprovalDao projectApprovalDao;

    @Override
    public List<ProjectApproval> selectList(ProjectApproval projectApproval) {
        return projectApprovalDao.selectList(projectApproval);
    }

    @Override
    public int insert(ProjectApproval projectApproval) {
        return projectApprovalDao.insert(projectApproval);
    }
}
